//
//  UILabel+StringFrame.h
//  Longer3D
//
//  Created by 王大江 on 15/9/23.
//  Copyright (c) 2015年 longer3d. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (StringFrame)

- (CGSize)boundingRectWithSize:(CGSize)size;

- (void)setLabelWithText:(NSString *)text Font:(UIFont *)font;

- (void)setLabelWithText:(NSString *)text Font:(UIFont *)font TextColor:(UIColor *)textColor;

- (void)setLabelWithText:(NSString *)text Font:(UIFont *)font TextAlignment:(NSTextAlignment )alignment;

- (void)setLabelWithText:(NSString *)text Font:(UIFont *)font TextColor:(UIColor *)textColor TextAlignment:(NSTextAlignment )alignment;

- (void)setLabelWithText:(NSString *)text Font:(UIFont *)font TextAlignment:(NSTextAlignment )alignment borderWidth:(CGFloat)borderWidth boderColor:(UIColor *)color CornerRadius:(CGFloat)radius;

@end
